How to install a script

Installation:

1. Download the ZIP folder
2. Extract a JSX file from ZIP folder.
3. Place the EAN13Barcode.jsx file in:

Win (32 bit): C:\Program Files (x86)\Adobe\Adobe Illustrator [vers.]\Presets\en_GB\Scripts\
Win (64 bit): C:\Program Files\Adobe\Adobe Illustrator [vers.] (64 Bit)\Presets\en_GB\Scripts\
Mac OS: /Applications/Adobe Illustrator [vers.]/Presets.localized/en_GB/Scripts

4. Restart Illustrator
5. The script should be visible now under File > Scripts > EAN13Barcode

NOTE: The OCR-B Standard font needs to be installed on your computer. This font is available at the Adobe TypeKit: https://fonts.adobe.com/fonts/ocr-b


How to use:

Place your barcode or barcodes numbers as 13 digit text in your open document. (Only one barcode number per frame or point text string).

Run the script: File > Scripts > EAN13Barcode

The script will find all 13 digits strings and replace them with a working EAN-13 barcode.

If the barcode is not correct, the alert will appear. Please ensure that the barcode number and the checksum are correct.


Settings Dialog:

On first run, the settings dialog appears automatically.

After first run, hold Option (Mac) or Alt (Windows) while running the script to open settings.

Configure your preferences:
- Width mode: Auto-detect (recommended) or Manual magnification
- Bar Width Reduction (BWR): 0-20% - default 0%, printer-specific
- Barcode height mode: Proportional or fixed
- Options: Convert text to outlines, add quiet zone guides, link as EPS files, and more

Settings are saved automatically and used for subsequent runs.


NOTE:
The OCR-B Standard font needs to be installed on your computer. This font is available at the Adobe TypeKit: https://fonts.adobe.com/fonts/ocr-b
